<?php

// websocket配置

return [
    'mode' => '',

    'business_name'          => 'BusinessWorker',
    'business_count'         => 4,
    'business_event_handler' => 'app\service\GatewayWorkerService',

    'gateway_socket_name'    => 'Websocket://0.0.0.0:8282',
    'gateway_context_option' => [],
    'gateway_name'           => 'Gateway',
    'gateway_count'          => 4,
    'gateway_start_port'     => 2300,
    'gateway_lanIp'          => "127.0.0.1",

    //register 连接地址
    'register_connection'    => "127.0.0.1:1236",
    //服务注册地址
    'register'               => "text://0.0.0.0:1236",
    'register_count'         => 1,
];
